package com.zh.media.domain.dto;

import com.zh.web.base.BaseDto;
import com.zh.web.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "审核文章参数")
public class AuditArticleDto extends BaseDto {
    @NotNull(message = "文章id不能为空")
    @ApiModelProperty(value = "文章id", required = true)
    private Long id;
    @ApiModelProperty(value = "审核状态", required = true)
    private Status status;
}
